<?
	$COUNTERS = @mysql_fetch_array(@mysql_query("SELECT * FROM PHPAUCTIONXL_counters"));
?>
<link href="css/main.css" rel="stylesheet" type="text/css" />

<!--<TABLE WIDTH=95% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR="#FFFFFF" ALIGN="CENTER">
  <TR>
    	<TD >
	<A HREF=<?=basename($_SERVER['PHP_SELF'])?>><?=$MSG_25_0025?></A>
	</TD>
  </TR>
</TABLE>-->
<TABLE WIDTH=95% BORDER=0 CELLPADDING=0 CELLSPACING=0 style="margin-left:25px;">
  <TR>
    <TD>
	<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" class="base">
      <TR BGCOLOR="#0083D7">
        <TD COLSPAN="2" class=title><p><?=$MSG_25_0031?></p></TD>
        </TR>
      <TR>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;" class="gris">
			<p class="blue"><?=$MSG_25_0055?></p>
		</TD>
        <TD WIDTH="71%"  class="gris">
			<p><B><?=$COUNTERS['users']?></B></p>
		</TD>
      </TR>
      <TR>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;">
			<p class="blue"><?=$MSG_25_0056?></p>
		</TD>
        <TD WIDTH="71%" >
			<p><B><?=$COUNTERS['inactiveusers']?></B></p>
		</TD>
      </TR>
      <TR>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;" class="gris">
			<p class="blue"><?=$MSG_25_0057?></p>
		</TD>
        <TD WIDTH="71%"  class="gris">
			<p><B><?=$COUNTERS['auctions']?></B></p>
		</TD>
      </TR>
      <TR>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;">
			<p class="blue"><?=$MSG_25_0058?></p>
		</TD>
        <TD WIDTH="71%" >
			<p><B><?=$COUNTERS['closedauctions']?></B></p>
		</TD>
      </TR>
      <TR>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;" class="gris">
			<p class="blue"><?=$MSG_25_0059?></p>
		</TD>
        <TD WIDTH="71%"  class="gris">
			<p><B><?=$COUNTERS['bids']?></B></p>
		</TD>
      </TR>
      <TR>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;">
			<p class="blue"><?=$MSG_25_0060?></p>
		</TD>
        <TD WIDTH="71%" >
		<?$AMOUNT = @mysql_result(@mysql_query("SELECT SUM(amount) as AMOUNT FROM PHPAUCTIONXL_tmpinvoice"),0,"AMOUNT");?>
			<p><B><?=print_money($AMOUNT)?></B></p>
		</TD>
      </TR>
      <TR>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;" class="gris">
			<p class="blue"><?=$MSG_25_0061?></p>
		</TD>
        <TD WIDTH="71%"  class="gris">
		<?$AMOUNT = @mysql_result(@mysql_query("SELECT SUM(total) as AMOUNT FROM PHPAUCTIONXL_invoiceheader WHERE paid='n'"),0,"AMOUNT");?>
			<p><B><?=print_money($AMOUNT)?></B>
			<?=$MSG_25_0062;?></p>
		</TD>
      </TR>
      <TR VALIGN=TOP>
        <TD WIDTH="29%"  style="border-right:1px solid #ccc;">
			<p class="blue"><?=$MSG_25_0063?></p>
		</TD>
        <TD WIDTH="71%" >
		<?$ACCESS = mysql_fetch_array(mysql_query("SELECT * FROM PHPAUCTIONXL_currentaccesses WHERE year='".date("Y")."' AND month='".date("m")."' AND day='".date("d")."'"));?>
			<p><?=$MSG_5161?>: <B><?=$ACCESS['pageviews']?></B><BR>
			<?=$MSG_5162?>: <B><?=$ACCESS['uniquevisitors']?></B><BR>
			<?=$MSG_5163?>: <B><?=$ACCESS['usersessions']?></B><BR></p>
		</TD>
      </TR>
    </TABLE>
	</TD>
  </TR>
</TABLE>
